﻿<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load">
  <ribbon>
    <tabs>
      <tab id="readMailTabTeam" label="Team">
        <group id="workItemGroup" label="Work Items">
          <toggleButton id="trackInWorkItemButton" getPressed="trackInWorkItemButton_GetPressed" size="large" getImage="trackInWorkItemButton_GetImage" label="Track in Work Item" onAction="trackInWorkItemButton_Action"/>
          <separator id="workItemSeparator"/>
          <button id="relatedWorkItemButton" getEnabled="relatedWorkItemButton_GetEnabled" size="large" getImage="relatedWorkItemButton_GetImage" label="Related Work Item" onAction="relatedWorkItemButton_Action" />
        </group>
        <group id="composeMailGroup" label="Include" getVisible="composeMailGroup_GetVisible">
          <button id="insertWorkItemButton" size="large" getImage="insertWorkItemButton_GetImage" label="Insert Work Items" onAction="insertWorkItemButton_Action" />
          <button id="downloadAttachmentComposeMailButton" size="large" label="Attach document to Appointment" onAction="downloadAttachmentTabSetAppointmentButton_Action" getImage="downloadAttachmentTabSetAppointmentButton_GetImage" />
          <button id="insertReportComposeMailButton" size="large" label="Insert Report" onAction="insertReportTabSetAppointmentButton_Action" getImage="insertReportTabSetAppointmentButton_GetImage" />
        </group>
        <group id="teamPortalGroup" label="Team Portal">
          <button id="sendAttachmentsButton" size="large" getEnabled="sendAttachmentsButton_GetEnabled" getImage="sendAttachmentsButton_GetImage" label="Send Attachments" onAction="sendAttachmentsButton_Action" />
        </group>
      </tab>
    </tabs>
  </ribbon>
</customUI>

